<template>
    <div class="main-box">
        类型 {{$route.params.type}} 页码 {{$route.params.page }}
    </div>
</template>

<script setup>
    const route = useRoute();
    console.log(`类型 ${route.params.type} , 页码 ${route.params.page}`);
</script>

<style>

</style>